#ifndef URLDELEGATE_H
#define URLDELEGATE_H

#include <QItemDelegate>

#include "urltask.h"

class UrlDelegate : public QItemDelegate
{
    Q_OBJECT

private:
    QPixmap m_pixmaps[UrlTask::STATUS_COUNT];

public:
    explicit UrlDelegate(QObject *parent = 0);
    void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
};

#endif // URLDELEGATE_H
